Reimplement RegExp in JavaScript

welcome to shbcf.ru